package cn.dust.design.pattern.behavioral.state;

/**
 * @Author: dust
 * @Date: 2019/11/28 19:48
 */
public class StopState extends CourseVideoState{
    @Override
    public void play() {
        super.courseVideoContext.setCourseVideoState(CourseVideoContext.PLAY_STATE);
    }

    @Override
    public void speed() {
        System.out.println("停止无加速");
    }

    @Override
    public void pause() {
        System.out.println("停止无暂停");
    }

    @Override
    public void stop() {
        System.out.println("停止播放视频状态");
    }
}
